<template>
	<div>
		<homeheader></homeheader>
		<homenavigation></homenavigation>
		<homecontent></homecontent>
		<homefooter></homefooter>
	<!-- 	<remote-js :js-url="'http://softstore.applinzi.com/eonfox.js'" :js-load-call-back="loadRongJs"></remote-js> -->
	</div>
</template>

<script>
 	import homeheader from './components/header'
 	import homefooter from './components/footer'
 	import homenavigation from './components/navigation'
 	import homecontent from './components/content'
//  	import detailpage from './page/detailpage'
// 	import homelogin from './components/login'
	// 外部js的引入
	// import RemoteJS from '../components/RemoteJS.vue'
	export default {
		name: 'HomePages',
		components: {
			homeheader,
			homefooter,
			homenavigation,
			homecontent
		},
// 		methods:{
// 			loadRongJs() {
// 				// 当使用远程js里的内容时请添加"//eslint-disable-line"防止eslint检测报错
// 				console.log(eslint-disable-line) //eslint-disable-line
// 			}
// 		}
// 直接在DOM上操作jquery
		  mounted() {
				
				const j = document.createElement('script');
				j.type = 'text/javascript';
				j.src = 'http://libs.baidu.com/jquery/1.9.1/jquery.min.js';
				document.body.appendChild(j);
				// 引入jquery库文件
				const s = document.createElement('script');
				s.type = 'text/javascript';
				s.src = 'http://softstore.applinzi.com/eonfox.js';
				document.body.appendChild(s);
			  }
			  // 接口文件
	}
</script>

<style>

</style>
